Add necessary protection
authorMatthias Clasen <matthiasc@src.gnome.org>
Mon, 28 Feb 2005 18:09:37 +0000 (18:09 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Mon, 28 Feb 2005 18:09:37 +0000 (18:09 +0000)
gdk-pixbuf/pixops/composite_line_22_4a4_mmx.S
gdk-pixbuf/pixops/composite_line_color_22_4a4_mmx.S
gdk-pixbuf/pixops/have_mmx.S
gdk-pixbuf/pixops/scale_line_22_33_mmx.S

index af12740ec8a8f76081c7facf7bdf0e13a67844a1..df157b405c4b316d510af37c545d06359715f234 100644 (file)
@@ -1,13 +1,16 @@
        .file   "composite_line_22_4a4_mmx.S"
        .version        "01.01"
-       .section .note.GNU-stack, "", @progbits
-       .previous
 gcc2_compiled.:
 .text
        .align 16
 
 #if !defined(__MINGW32__) && !defined(__CYGWIN__)      
        
+/* Magic indicating no need for an executable stack */
+#if !defined __powerpc64__ && !defined __ia64__
+.section .note.GNU-stack;  .previous
+#endif
+       
 .globl _pixops_composite_line_22_4a4_mmx
        .type    _pixops_composite_line_22_4a4_mmx,@function
 _pixops_composite_line_22_4a4_mmx:
index b6eb48e52fea8aa233e40d9f43251a68d07a49b2..2377f9d495c8d2df561c45ba2251654bcbecefe4 100644 (file)
@@ -1,13 +1,16 @@
        .file   "composite_line_color_22_4a4_mmx.S"
        .version        "01.01"
-       .section .note.GNU-stack, "", @progbits
-       .previous
 gcc2_compiled.:
 .text
        .align 16
 
 #if !defined(__MINGW32__) && !defined(__CYGWIN__)      
 
+/* Magic indicating no need for an executable stack */
+#if !defined __powerpc64__ && !defined __ia64__
+.section .note.GNU-stack;  .previous
+#endif
+       
 .globl _pixops_composite_line_color_22_4a4_mmx
        .type    _pixops_composite_line_color_22_4a4_mmx,@function
 _pixops_composite_line_color_22_4a4_mmx:
index cc93f10548740d63b4e6a1abcaac5a740fddd449..0ae7f199e5eb4ab87ef170d2de47da508fcdbcac 100644 (file)
@@ -1,14 +1,16 @@
-
        .file   "have_mmx.S"
        .version        "01.01"
-       .section .note.GNU-stack, "", @progbits
-       .previous
 gcc2_compiled.:
 .text
        .align 16
 
 #if !defined(__MINGW32__) && !defined(__CYGWIN__)      
 
+/* Magic indicating no need for an executable stack */
+#if !defined __powerpc64__ && !defined __ia64__
+.section .note.GNU-stack;  .previous
+#endif
+       
 .globl _pixops_have_mmx
        .type    _pixops_have_mmx,@function
 _pixops_have_mmx:
index 8ca87be586d27d6ee050a0cde351285b8c367895..f878ee4b2fe7b3f64a7e3fb3c9729219dc76c15a 100644 (file)
@@ -1,13 +1,16 @@
        .file   "scale_line_22_33_mmx.S"
        .version        "01.01"
-       .section .note.GNU-stack, "", @progbits
-       .previous
 gcc2_compiled.:
 .text
        .align 16
 
 #if !defined(__MINGW32__) && !defined(__CYGWIN__)      
        
+/* Magic indicating no need for an executable stack */
+#if !defined __powerpc64__ && !defined __ia64__
+.section .note.GNU-stack;  .previous
+#endif
+       
 .globl _pixops_scale_line_22_33_mmx
        .type    _pixops_scale_line_22_33_mmx,@function
 _pixops_scale_line_22_33_mmx: